package com.itqian.system.mapper;

import com.itqian.system.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author shishuqian
 * @since 2022-03-21
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     *
     * @author shishuqian
     * @desc   修改用户昵称
     */
    boolean editNickname(Integer userId,String nickname);


    /**
     *
     * @author shishuqian
     * @desc   修改用户头像
     */
    boolean editIcon(Integer userId,String iconUrl);

    boolean editPhone(Integer userId,String phone);
}
